Taglist: Failed to generate tags for macvim [migrated]

Posted by Mohit Jain on Programmers See other posts from Programmers or by Mohit Jain
Published on 2012-12-13T09:31:16Z Indexed on 2012/12/13 11:19 UTC
Read the original article Hit count: 661

Filed under:

When ever I am trying to open a file in my rails project using macVim. I am geting an error

Taglist: Failed to generate tags for .......

But it works perfectly in terminal vim. Why its happening? I am a new bie and just installed everything using this dotvim repo.

I installed ctags using these commands that I got from this git

$ ctags -R --exclude=.git --exclude=log *
ctags: illegal option -- R
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

#you need to get new ctags, i recommend homebrew but anything will work
$ brew install ctags

#alias ctags if you used homebrew
$ alias ctags="`brew --prefix`/bin/ctags"

#try again!
ctags -R --exclude=.git --exclude=log *

which ctags on terminal returning, same if i do from vim or gvim using ! (bang):

 /usr/bin/ctags

Can anyone help me?

© Programmers or respective owner

Related posts about vim